package com.example.servicea.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.example.servicea.entity.UserPermissionEntity;

import java.util.List;

/**
 * @Author hutu.
 * @Date: 2017/10/26 10:19
 */
public interface UserPermissionService {
    boolean insert(UserPermissionEntity userPermission);
    List<UserPermissionEntity> selectList(UserPermissionEntity userPermission);

    Page selectPage(UserPermissionEntity userPermission, String page, String limit);

    int selectCount(UserPermissionEntity userPermission);

	UserPermissionEntity selectOne(UserPermissionEntity userPermission);

	UserPermissionEntity selectById(String id);

    boolean updateById(UserPermissionEntity userPermission);

    boolean deleteById(String id);

    boolean deleteBatchIds(String ids);

}